#ifndef E3_H
#define E3_H
#include "i2c.h"

#define CURTAIN_ADDRESS_E3 0x38
#define HR8833MTE_ADDRESS_E3 0x03

typedef struct
{
    i2c_addr_def curtain_addr[4];
} e3_addr_ref;

i2c_addr_def e3_init(uint8_t address);
void e3_all_init(e3_addr_ref *e3_address, uint8_t e3_addr);
void e3_set_position(uint32_t periph, uint8_t slave_address, uint8_t pos);
#endif //E3_H
